package com.ptu.mapper;

import com.ptu.entity.Punishment;

import java.util.List;

public interface PunishmentMapper {
    List<Punishment> selectPunMore(String punname, String pundate);

    Punishment selectPunByPid(Integer punid);
    // 分页查询
    List<Punishment> selectPage(Integer pageSize, Integer pageStart);

    int insertPunishment(Punishment pun);

    int delectPun(Integer punid);

    int updatePun(Punishment pun);

    int selectPunCount();

    List<Punishment> selectAll();
}
